home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / general / modelers / geomview / source.lha / Geomview / include / color.h < prev    next >
C/C++ Source or Header  |  1993-02-10  |  1KB  |  27 lines

  1. /* Copyright (c) 1992 The Geometry Center; University of Minnesota
  2.    1300 South Second Street;  Minneapolis, MN  55454, USA;
  3.    
  4. This file is part of geomview/OOGL. geomview/OOGL is free software;
  5. you can redistribute it and/or modify it only under the terms given in
  6. the file COPYING, which you should have received along with this file.
  7. This and other related software may be obtained via anonymous ftp from
  8. geom.umn.edu; email: software@geom.umn.edu. */
  9.  
  10. /* Authors: Charlie Gunn, Stuart Levy, Tamara Munzner, Mark Phillips */
  11.  
  12. #ifndef COLORDEFS
  13. #define COLORDEFS
  14.  
  15. typedef struct { float r, g, b;   } Color;
  16. typedef struct { float r, g, b, a; } ColorA;
  17.  
  18. extern void CoPrint(Color *c);
  19. extern void CoCopy(Color *c0, Color *c1);
  20. extern void CoACopy(ColorA *c0, ColorA *c1);
  21. extern void CoFrom(Color *c, float r, float g, float b);
  22. extern void CoAdd(Color *c0, Color *c1, Color *c2);
  23. extern void CoSub(Color *c0, Color *c1, Color *c2);
  24. extern void CoFilter(Color *c0, Color *c1, Color *c2);
  25.  
  26. #endif
  27.